package com.bgrconsulting.stockorderentry.service.converter;

import javax.xml.bind.annotation.XmlRootElement;
import com.bgrconsulting.stockorderentry.service.model.CashAccountBalance;
import javax.xml.bind.annotation.XmlElement;

@XmlRootElement(name = "cashAccountBalance")
public class CashAccountBalanceConverter {
	private CashAccountBalance enity = null;
	
	public CashAccountBalanceConverter(CashAccountBalance cashAccountBalance) {
		this.enity = cashAccountBalance;
	}
	
	public CashAccountBalanceConverter() {
		this.enity = new CashAccountBalance();
	}

	@XmlElement(name = "cashAvailableForInvestment")
	public Double getCashAvailableForInvestment() {
		return this.enity.getCashAvailableForInvestment();
	}
	
	@XmlElement(name = "cashBalance")
	public Double getCashBalance() {
		return this.enity.getCashBalance();
	}
	
	@XmlElement(name = "settledCashForInvestment")
	public Double getSettledCashForInvestment() {
		return this.enity.getSettledCashForInvestment();
	}
	
}
